Total Complexity | 59 |
Dependencies | 7 |
Dependents | 24 |
Total lines | 740 |
Lines of code | 246 |
Logical lines of code | 138 |
Comment lines | 389 |
Methods | 26 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_cart_hash() | 51 | 8 | 26 | |
parse_request() | 52 | 6 | 25 | |
maybe_delete_expired_products() | 55 | 6 | 21 | |
map_ticket_data() | 49 | 4 | 34 | |
set_cart_hash_cookie() | 59 | 5 | 14 | |
is_current_page() | 61 | 4 | 13 | |
prepare_data() | 53 | 3 | 22 | |
remove_ticket() | 60 | 3 | 13 | |
get_current_cart_transient() | 69 | 2 | 7 | |
process() | 72 | 2 | 6 | |
add_ticket() | 72 | 1 | 5 | |
get_cart_hash_cookie_name() | 75 | 1 | 4 | |
get_cart_subtotal() | 81 | 1 | 3 | |
get_cart_total() | 81 | 1 | 3 | |
get_repository() | 75 | 1 | 4 | |
get_items_in_cart() | 79 | 1 | 3 | |
get_mode() | 81 | 1 | 3 | |
get_cart_expiration() | 66 | 1 | 9 | |
clear_cart() | 71 | 1 | 6 | |
has_items() | 81 | 1 | 3 | |
set_cart_hash() | 81 | 1 | 3 | |
generate_cart_order_hash() | 74 | 1 | 4 | |
get_url() | 71 | 1 | 5 | |
is_available_mode() | 79 | 1 | 3 | |
get_available_modes() | 82 | 1 | 3 | |
get_transient_name() | 73 | 1 | 4 |